package com.ets.Customer_DAO;

import java.util.ArrayList;

/*------------------------------------------------------------------------------
 <big><b>CustomerIO</b></big> interface, that defines the methods available for
 use with the <big><b>Customer</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
------------------------------------------------------------------------------*/
public interface CustomerIO
  {
   // Customer reader methods
   boolean  existsCustomer (int cust);
   boolean  existsCustomer (String tin);
   Customer getCustomer    (int cust);
   Customer getCustomer    (String tin);
   boolean  getCustomers   (ArrayList<Customer> custs);

   // Customer writer methods
   boolean addCustomer    (Customer cust);
   boolean updateCustomer (Customer cust);
   boolean deleteCustomer (Customer cust);
  }
